#include "game_major.h"



game_major::game_major()
{
	map.First_Create_Map(10,15);
}


game_major::~game_major()
{
}

void game_major::Go()
{	
	map.Go();
}

void game_major::Draw()
{
	map.Draw();
}

void game_major::OnKeyPressed(WPARAM key)
{

	isKeyDown[key] = 1;
		
}

void game_major::OnKeyReleased(WPARAM key)
{
	isKeyDown[key] = 0;
}

void game_major::OnLeftPressed()
{
	
}
void game_major::OnRightPressed()
{
	
}

void game_major::OnLeftReleased()
{
	
}

void game_major::OnRightReleased()
{
	
}

void game_major::OnMouseMove(int x, int y)
{

}

void game_major::OnMouseEnter()
{
	is_in_windows = true;
}

void game_major::OnMouseLeave()
{
	is_in_windows = false;
}

void game_major::OnWheelChange(short wheel)
{
	
}

bool game_major::IsInWindow()
{
	return is_in_windows;
}
